package com.zjcode.cassync.service.impl;

import java.util.List;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zjcode.cassync.model.PreUsers;
import com.zjcode.cassync.mapper.PreUsersMapper;
import com.zjcode.cassync.service.PreUsersService;

@Service
public class PreUsersServiceImpl implements PreUsersService {

    @Resource
    private PreUsersMapper preUsersMapper;

    @Override
    public int insert(PreUsers record) {
        return preUsersMapper.insert(record);
    }

    @Override
    public int insertSelective(PreUsers record) {
        return preUsersMapper.insertSelective(record);
    }

    @Override
    public List<PreUsers> selectAll() {
        return preUsersMapper.selectAll();
    }

}
